package com.etc.togo.service;

import org.hibernate.service.spi.ServiceException;
import org.springframework.web.multipart.MultipartFile;

import com.etc.togo.domain.Brand;
import com.etc.togo.vo.ResultVO;

public interface IBrandService extends IBaseService<Brand> {
	public ResultVO add(MultipartFile logo, Brand brand) throws ServiceException;

	public ResultVO delete(Long id) throws ServiceException;

	public ResultVO update(MultipartFile photo, Brand brand) throws ServiceException;

	public ResultVO getModels(Long brand_id);

	public ResultVO getModelsByName(String brand_name);
}
